<?php
/**
 * 防火墙
 * @author Administrator
 *
 */
class Application_Model_Firewall
{
	
		
	public static function isAllow($url)
	{
		$iniM = new Zend_Config_Ini(APPLICATION_PATH . "/configs/firewall.ini");
		//print_r($iniM->get("white"));die();
		if (key_exists($url, $iniM->get("white")->toarray())){
			return TRUE;
		}
		return FALSE;
	}
	
}